package com.demoCode.model.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user")
@Builder
public class User {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    private String username;

    private String password;

    private String nickname;

    private String phone;

    private String address;

    private Integer age;

    private Integer sex;

    private Date createTime;

    private Date updateTime;

    private Integer isDelete;

}
